package br.fatec.ppi.entities.student;

public class SearchByRangeOfAge extends SearchBy{
    
    public SearchByRangeOfAge(int rangeOfAge1, int rangeOfAge2){
        super(String.format("SELECT s FROM Student s WHERE s.age >= " + rangeOfAge1 + " AND s.age <= " + rangeOfAge2));    
    }    
}